Flash Article

Stepping into the New Macromedia Flash MX 2004 Component Structure


Table of Contents

  1. Introduction
  2. Moving Up to v2 Components
  3. Choosing Your Upgrade Path
  4. Upgrading Your Applications
  5. Search and Destroy

Moving Up to v2 Components

As amazing and powerful as the new v2 components are, I'm not trying to sell you on them. My goal is to help you decide whether to upgrade—if at all—your existing applications and how. The bottom line is: No matter how great the new components are, they have to work for your end user or the great features are moot.

Table 1 provides an overview of your deployment options, depending on the combination of FLA file version you create; Flash Player version you target; ActionScript version you employ; and component version you use. For example, Flash MX 2004 can save your source FLA file in the old MX format so that others on your team can still edit it, even if they're just using Flash MX. Furthermore you can use the v2 components even if you're delivering content to Flash Player 6.

Table 1. Choosing an Upgrade Path

Document Format Flash Player ActionScript v1 Components v2 Components

MX

6

1

Edit with tool of your choice (Flash MX or Flash MX 2004)

Not applicable/not supported

MX 2004

6

1

Will work

Not supported (must use AS2)

MX 2004

6

2

Will work unless sloppy ActionScript causes compile errors

Not supported universally:

  • User interface components work for users with Flash Player 6,0,79 or later (unrelated to the Optimize for 6r65 publish setting).
  • Media Components don't work because they use Flash Player 7–only features.

MX 2004

7

1

Not supported

Not supported

MX 2004

7

2

Not supported

Fully supported

Note: Mixing v1 and v2 components in a single document can lead to conflicts.

You can easily downgrade your Flash MX 2004 FLA file by selecting Save As from the File menu and choosing Flash MX from the File Type drop-down list in the Save As dialog box. Additionally, you can select the ActionScript and Flash Player version you want to target from the Flash tab in the Publish settings dialog box (see Figure 1).

Figure 1

Figure 1. You can publish to any version of Flash Player and, with version 6 or 7, opt for ActionScript 1.0 or 2.0.